<script type="text/javascript" src="js/dhtmlgoodies_calendar.js"></script>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/extremecomponents.tld" prefix="ec" %>
<%@taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax"%>
<%@page import="jmc.ui.front.form.SendTravelsForm"%>


<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="-1">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="-1">

		<link href="<%=request.getContextPath()%>/css/general.css" rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath()%>/css/defaultForm.css" rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath()%>/css/extremecomponents.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/message.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/formUtilit.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/appletClass.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/certificatesToken.js"></script>		
		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/ajax.js"></script>		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/tab.js"></script>		
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/rico/rico.js"></script>		
		<title><tiles:getAsString name="title"/></title>
		<script type="text/javascript">
		
		// Messages and buttons
		var missingFieldsMessage = "<bean:message key="error.missingFields"/>";
		var onlyNumberFieldsMessage = "<bean:message key="error.onlyNumberFields"/>";
		var emailFieldsMessage = "<bean:message key="error.emailFields"/>";
		var dateFieldsMessage = "<bean:message key="error.dateFields"/>";
		var generalFillFieldsMessage = "<bean:message key="error.generalFillFields"/>";
		var buttonOk = "<bean:message key="button.ok"/>";
		var buttonCancel = "<bean:message key="button.cancel"/>";
		var buttonYes = "<bean:message key="button.yes"/>";
		var buttonNo = "<bean:message key="button.no"/>";

		</script>
</head>
<link href="<%=request.getContextPath()%>/css/ajax/ajaxtags.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/ajax/displaytag.css" rel="stylesheet" type="text/css" />
<link href="css/dhtmlgoodies_calendar.css" rel="stylesheet" type="text/css">

<!-- Init menu de acciones de operador -->
<div class="main">
	<div class="panel_100 tab">
    	
		<div class="space"></div>
    	<div>EVENTOS DE LA FECHA</div>
<html:form action="/sendTravels.do?method=listoVdp" styleId="preparedSelectDateForm">
	<div style="width:8%; float:right;">
		<html:link href="#"  style="margin: 0px;" onclick="submitForm('preparedSelectDateForm');"><span>Volver</span></html:link>
	</div>
</html:form>
    	
		
<div class="subTitulo">
	Cliente: <bean:write name="sendTravelsForm" property="usuario.nombreCliente" /> ---
	Fecha Seleccionada: <bean:write name="sendTravelsForm" property="usuario.fechaInventario" />
</div>



		

				<fieldset class="defaultFieldset" style="margin: 0%;width: 100%; height: 100%;"  >
				

				<div class="separator"></div>

    			
    			<bean:define name="sendTravelsForm" id="wd041803List" property="wd041803List"/>

				<% int num = ((SendTravelsForm)request.getAttribute("sendTravelsForm")).getWd041803List().size();
					if (num==0){  %>
					<div class="noDataMessage">No se encontraron datos sobre los criterios seleccionados</div>
				<% } else { %>
					<ec:table
						tableId="notReg" 
				    	items="wd041803List"
						var = "wd041803"
						locale="es_ES"
						action="sendTravels.do?method=getDetalle"
						imagePath="images/table/*.gif"
						width="100%"
						rowsDisplayed="30" >
						<ec:exportXls view="xls" fileName="DetallePorEstado.xls" tooltip="Export Excel"/>
						<ec:row>																
								<ec:column filterable="true" sortable="false" width="150px" property="wjvin" title="________VIN________" >
									<span style="white-space:nowrap;">${wd041803.wjvin}</span>
								</ec:column>
								
								
								
								<ec:column filterable="false" sortable="false" width="80px" property="wjfhes" title="F.Estad" viewsDenied="xls">
									<span style="white-space:nowrap;">${wd041803.formatedWjfhes}</span>
								</ec:column>
																
								<ec:column filterable="false" sortable="true" width="60px" property="formatedWjfhes" title="F.Estad" viewsDenied="html"/>						
								
								<ec:column filterable="false" sortable="false" width="60px" property="wjesta" title="EST">
									<span style="white-space:nowrap;">${wd041803.formatedWxesta}</span>
								</ec:column>

								<ec:column filterable="true" sortable="true" width="40px" property="wxnror" title="Nr.Orig" >
									<span style="white-space:nowrap;">${wd041803.wxnror}</span>
								</ec:column>

								<ec:column filterable="true" sortable="true" width="80px" property="wxplor" title="Nombre" >
									<span style="white-space:nowrap;">${wd041803.wxplor}</span>
								</ec:column>

								<ec:column filterable="false" sortable="false" width="40px" property="wxnrde" title="Destino" >
									<span style="white-space:nowrap;">${wd041803.wxnrde}</span>
								</ec:column>
								
								<ec:column filterable="true" sortable="true" width="200px" property="wxraso" title="Raz.Social" >
									<span style="white-space:nowrap;">${wd041803.wxraso}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxzona" title="Zona" >
									<span style="white-space:nowrap;">${wd041803.wxzona}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxsubz" title="SubZona" >
									<span style="white-space:nowrap;">${wd041803.wxsubz}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxviaj" title="N.Viaje" >
									<span style="white-space:nowrap;">${wd041803.wxviaj}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxequi" title="N.Equipo" >
									<span style="white-space:nowrap;">${wd041803.wxequi}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxfhpr" title="F. Prior"  viewsDenied="xls">
									<span style="white-space:nowrap;">${wd041803.formatedWxfhpr}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="formatedWxfhpr" title="F. Prior"  viewsDenied="html"/>

								<ec:column filterable="true" sortable="true" width="40px" property="wxfhen" title="F. Entre" >
									<span style="white-space:nowrap;">${wd041803.formatedWxfhen}</span>
								</ec:column>
								<ec:column filterable="true" sortable="true" width="40px" property="wxoren" title="T/C" >
									<span style="white-space:nowrap;">${wd041803.wxoren}</span>
								</ec:column>								
								<ec:column filterable="true" sortable="true" width="40px" property="wxmode" title="Mode" >
									<span style="white-space:nowrap;">${wd041803.wxmode}</span>
								</ec:column>
								<ec:column filterable="true" sortable="false" width="150px" property="wxdemo" title="Descripcion" >
									<span style="white-space:nowrap;">${wd041803.wxdemo}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="wxcate" title="Cat" >
									<span style="white-space:nowrap;">${wd041803.wxcate}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="wxcssf" title="S" >
									<span style="white-space:nowrap;">${wd041803.wxcssf}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="wxoper" title="Operacion" >
									<span style="white-space:nowrap;">${wd041803.wxoper}</span>
								</ec:column>
								<ec:column filterable="false" sortable="false" width="20px" property="wxclie" title="Cli" >
									<span style="white-space:nowrap;">${wd041803.wxclie}</span>
								</ec:column>

						</ec:row>
					</ec:table>
					<jsp:include page="../add_on/tableHints.jsp"/>
				<% } %>	
			</fieldset>

<!--WXOPER    R               REFFLD(OPERACION)    (2)   (OP) -->
<!--WXCLIE  -->

</div>
</div>
<script type="text/javascript">
function submitForm(formId) { 
	document.getElementById(formId).submit();
}

</script>